/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.alexgorbatchev.syntaxhighlighter.client;

import com.google.gwt.junit.client.GWTTestCase;

/**
 *
 * @author cliffhill
 */
public class Gwt_TestBrush extends GWTTestCase {

    @Override
    public String getModuleName() {
        return "com.alexgorbatchev.syntaxhighlighter.Highlighter";
    }

    private void brushChecker(Brush brush) {
        assertNotNull(brush);

        assertTrue(brush instanceof BrushImpl);

        BrushImpl impl = (BrushImpl) brush;

        assertFalse(impl.isLoaded());

        assertNotNull(impl.getAlias());
    }

    public void testABL() {
        brushChecker(Brush.Brushes.ABL());
    }

    public void testAPPLESCRIPT() {
        brushChecker(Brush.Brushes.APPLESCRIPT());
    }

    public void testAS3() {
        brushChecker(Brush.Brushes.AS3());
    }

    public void testAU3() {
        brushChecker(Brush.Brushes.AU3());
    }

    public void testBASH() {
        brushChecker(Brush.Brushes.BASH());
    }

    public void testCOLDFUSION() {
        brushChecker(Brush.Brushes.COLDFUSION());
    }

    public void testCPP() {
        brushChecker(Brush.Brushes.CPP());
    }

    public void testCSHARP() {
        brushChecker(Brush.Brushes.CSHARP());
    }

    public void testCSS() {
        brushChecker(Brush.Brushes.CSS());
    }

    public void testDELPHI() {
        brushChecker(Brush.Brushes.DELPHI());
    }

    public void testDIFF() {
        brushChecker(Brush.Brushes.DIFF());
    }

    public void testERLANG() {
        brushChecker(Brush.Brushes.ERLANG());
    }

    public void testGROOVY() {
        brushChecker(Brush.Brushes.GROOVY());
    }

    public void testJAVA() {
        brushChecker(Brush.Brushes.JAVA());
    }

    public void testJAVAFX() {
        brushChecker(Brush.Brushes.JAVAFX());
    }

    public void testJSCRIPT() {
        brushChecker(Brush.Brushes.JSCRIPT());
    }

    public void testLISP() {
        brushChecker(Brush.Brushes.LISP());
    }

    public void testPERL() {
        brushChecker(Brush.Brushes.PERL());
    }

    public void testPHP() {
        brushChecker(Brush.Brushes.PHP());
    }

    public void testPLAIN() {
        brushChecker(Brush.Brushes.PLAIN());
    }

    public void testPOWERSHELL() {
        brushChecker(Brush.Brushes.POWERSHELL());
    }

    public void testPYTHON() {
        brushChecker(Brush.Brushes.PYTHON());
    }

    public void testRS() {
        brushChecker(Brush.Brushes.RS());
    }

    public void testRUBY() {
        brushChecker(Brush.Brushes.RUBY());
    }

    public void testSASS() {
        brushChecker(Brush.Brushes.SASS());
    }

    public void testSCALA() {
        brushChecker(Brush.Brushes.SCALA());
    }

    public void testSCHEME() {
        brushChecker(Brush.Brushes.SCHEME());
    }

    public void testSQL() {
        brushChecker(Brush.Brushes.SQL());
    }

    public void testVB() {
        brushChecker(Brush.Brushes.VB());
    }

    public void testXML() {
        brushChecker(Brush.Brushes.XML());
    }
}